require("../../common/vendor.js"), (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pagesA/pages/mallA/list" ], {
    "2cf7": function(t, e, a) {
        a.r(e);
        var o, n = a("b2f9"), i = a("d9f7");
        for (o in i) "default" !== o && function(t) {
            a.d(e, t, function() {
                return i[t];
            });
        }(o);
        a("fbc7");
        var r = a("f0c5"), n = Object(r.a)(i.default, n.b, n.c, !1, null, null, null, !1, n.a, void 0);
        e.default = n.exports;
    },
    5957: function(t, a, o) {
        (function(i) {
            Object.defineProperty(a, "__esModule", {
                value: !0
            }), a.default = void 0;
            var t, n = (t = o("a34a")) && t.__esModule ? t : {
                default: t
            };
            function c(t, e, a, o, n, i, r) {
                try {
                    var d = t[i](r), c = d.value;
                } catch (t) {
                    return a(t), 0;
                }
                d.done ? e(c) : Promise.resolve(c).then(o, n);
            }
            function r(d) {
                return function() {
                    var t = this, r = arguments;
                    return new Promise(function(e, a) {
                        var o = d.apply(t, r);
                        function n(t) {
                            c(o, e, a, n, i, "next", t);
                        }
                        function i(t) {
                            c(o, e, a, n, i, "throw", t);
                        }
                        n(void 0);
                    });
                };
            }
            var d = getApp(), e = {
                data: function() {
                    return {
                        warn_num: i.getStorageSync("userinfo").s_1_num,
                        module_name: d.globalData.module_name,
                        sharetitle: "",
                        waimaidaohangcurrent: 0,
                        waimaidaohang_1: [],
                        waimaidaohang_2: [],
                        waimaidaohang_3: [],
                        waimaittnew_daohang_height: 0,
                        sharepic: "",
                        appid_type: 0,
                        movietype: 1,
                        moviecometype: 1,
                        movielist: [],
                        moviecomelist: [],
                        movie_hotshuliang: 0,
                        qudao_tkl: "",
                        is_qudao_tkl: 0,
                        showAlert_taobaoauth: !1,
                        showAlert_login: !1,
                        elm_url: [],
                        meituan_url: [],
                        wxCode: "",
                        userinfo: [],
                        swiperItems: [],
                        waimaidaohang: [],
                        waimailist: [],
                        setting: [],
                        showAlert_meituan: !1,
                        kwd: "",
                        showAlert: !1,
                        currentCateIndex: 0,
                        leftTo: "cate1",
                        productListTo: "",
                        mainCate: [],
                        allProducts: [],
                        allProducts_temp: [],
                        mainHeight: 500,
                        scrollTimer: null,
                        contact_title: "",
                        contact_title_text: "",
                        contact_title_desc: "",
                        contact_id: "",
                        contact_type: "",
                        contact_thumb: "",
                        youlikes: [],
                        indexCateAndProducts: [],
                        top: 0,
                        footerCurrent: 0,
                        showToast_login: !1,
                        pageKey: 0,
                        height: "",
                        tabBar: [],
                        elmwm_act_id: 0,
                        mtpic: 0,
                        cityid: 40,
                        cityCode: 500100,
                        lat: 0,
                        lon: 0,
                        navItems: [],
                        navIndex: 0,
                        navType: "",
                        mallpage: 1,
                        mallpagesize: 20,
                        mallgoodslist: [],
                        loadStatus: "loadmore",
                        loadText: {
                            loadmore: "上拉加载更多",
                            loading: "努力加载中",
                            nomore: "实在没有了"
                        },
                        scrollTop: 0,
                        windowHeight: i.getStorageSync("windowHeight"),
                        navQuery: "",
                        background: {
                            backgroundColor: i.getStorageSync("setting").waimaittnew_lunbobgcolor
                        },
                        search_width: "",
                        isFixed: !0,
                        headerHeight: 0,
                        nav_margin_top: "0rpx",
                        nav_padding_top: "0rpx",
                        search_height: "",
                        keyword: "",
                        search_placeholder: "",
                        fixed_heiht: 0,
                        api_url: 0
                    };
                },
                components: {
                    gracePage: function() {
                        o.e("graceUI/components/gracePage").then(function() {
                            return resolve(o("1021"));
                        }.bind(null, o)).catch(o.oe);
                    },
                    graceDialog: function() {
                        o.e("graceUI/components/graceDialog").then(function() {
                            return resolve(o("f85d"));
                        }.bind(null, o)).catch(o.oe);
                    },
                    graceNavBar: function() {
                        o.e("graceUI/components/graceNavBar2").then(function() {
                            return resolve(o("e74d"));
                        }.bind(null, o)).catch(o.oe);
                    }
                },
                props: {},
                onReady: function() {
                    var e = this;
                    return r(n.default.mark(function t() {
                        return n.default.wrap(function(t) {
                            for (;;) switch (t.prev = t.next) {
                              case 0:
                                return t.next = 2, e.$onLaunched;

                              case 2:
                              case "end":
                                return t.stop();
                            }
                        }, t);
                    }))();
                },
                onReachBottom: function() {},
                onShow: function(t) {
                    var a = this;
                    return r(n.default.mark(function t() {
                        var e;
                        return n.default.wrap(function(t) {
                            for (;;) switch (t.prev = t.next) {
                              case 0:
                                return t.next = 2, a.$onLaunched;

                              case 2:
                                i.getStorageSync("openid") && (e = d.globalData.util.url("entry/wxapp/api", {
                                    m: d.globalData.module_name,
                                    o: "chkpid"
                                }), i.request({
                                    url: e,
                                    method: "POST",
                                    header: {
                                        "content-type": "application/x-www-form-urlencoded"
                                    },
                                    data: {
                                        openid: i.getStorageSync("openid")
                                    },
                                    success: function(t) {
                                        t = d.globalData.crypt.Decrypt(t.data.data.data, t.data.data.key), t = JSON.parse(t);
                                        i.setStorageSync("pid_use_time", t), i.getStorageSync("pid_time") != i.getStorageSync("pid_use_time") && (i.setStorageSync("elmwm_url", ""), 
                                        i.setStorageSync("elmsc_url", ""), i.setStorageSync("elmwmposter", ""), i.setStorageSync("elmscposter", ""), 
                                        i.setStorageSync("pid_time", i.getStorageSync("pid_use_time")));
                                    }
                                })), i.hideLoading(), a.windowHeight = i.getStorageSync("windowHeight");

                              case 6:
                              case "end":
                                return t.stop();
                            }
                        }, t);
                    }))();
                },
                onPullDownRefresh: function() {},
                onLoad: function(t) {
                    var o = this;
                    return r(n.default.mark(function t() {
                        var e, a;
                        return n.default.wrap(function(t) {
                            for (;;) switch (t.prev = t.next) {
                              case 0:
                                return t.next = 2, o.$onLaunched;

                              case 2:
                                (e = o).setting = i.getStorageSync("setting"), e.userinfo = i.getStorageSync("userinfo"), 
                                (a = i.getStorageSync("setting").index_malltype).splice(+i.getStorageSync("setting").youxuan_no, 1), 
                                e.navItems = a, e.navType = a[0].type, e.navQuery = a[0].query, e.background = {
                                    backgroundColor: e.setting.waimaittnew_lunbobgcolor
                                }, e.loadWaimaiindex(), i.setNavigationBarTitle({
                                    title: "热门活动"
                                }), i.setNavigationBarColor({
                                    backgroundColor: e.setting.waimaittnew_navigationBarBackgroundColor,
                                    frontColor: e.setting.waimaittnew_navigationBarTextStyle
                                }), i.hideLoading();

                              case 17:
                              case "end":
                                return t.stop();
                            }
                        }, t);
                    }))();
                },
                onShareAppMessage: function() {
                    var t = "pagesA/pages/mallA/list?uid=" + i.getStorageSync("userinfo").user_id;
                    return {
                        title: this.sharetitle,
                        imageUrl: this.sharepic,
                        path: t
                    };
                },
                methods: {
                    navChange: function(t) {
                        this.navIndex = t, this.navType = this.navItems[t].type, this.navQuery = this.navItems[t].query;
                    },
                    showDialog1: function() {
                        this.$refs.showAlert_taobaoauth.open();
                    },
                    closeDialog1: function() {
                        this.$refs.showAlert_taobaoauth.hide();
                    },
                    showDialog2: function() {
                        this.$refs.showAlert_login.open();
                    },
                    closeDialog2: function() {
                        this.$refs.showAlert_login.hide();
                    },
                    showDialog3: function() {
                        this.$refs.showAlert.open();
                    },
                    closeDialog3: function() {
                        this.$refs.showAlert.hide();
                    },
                    userlogin: function() {
                        !i.getStorageSync("userinfo").nickname && 1 == i.getStorageSync("setting").login_type && wx.getUserProfile ? this.showDialog2() : this.closeDialog2();
                    },
                    checksubmessage: function(t) {
                        var a;
                        i.getStorageSync("userinfo").nickname || 1 != i.getStorageSync("setting").login_type || !wx.getUserProfile ? (a = this, 
                        wx.requestSubscribeMessage({
                            tmplIds: i.getStorageSync("setting").warn_tplid,
                            success: function(t) {
                                console.log(t), "reject" == t[i.getStorageSync("setting").warn_yhq_tplid] ? wx.showToast({
                                    title: "您拒绝了订阅消息",
                                    duration: 1e3,
                                    success: function(t) {}
                                }) : wx.showToast({
                                    title: "订阅成功",
                                    duration: 1e3,
                                    success: function(t) {
                                        var e = d.globalData.util.url("entry/wxapp/api", {
                                            m: d.globalData.module_name,
                                            o: "subscribemessage"
                                        });
                                        i.request({
                                            url: e,
                                            method: "POST",
                                            header: {
                                                "content-type": "application/x-www-form-urlencoded"
                                            },
                                            data: {
                                                openid: i.getStorageSync("openid"),
                                                type: 1
                                            },
                                            success: function(t) {
                                                var e = a.userinfo;
                                                a.warn_num++, e.s_1_num++, a.userinfo = e, i.setStorageSync("warn_daynum", t.data.warm_daynum);
                                            }
                                        });
                                    }
                                });
                            },
                            fail: function(t) {}
                        })) : this.showDialog2();
                    },
                    getWxCode: function() {
                        var e = this;
                        wx.login({
                            success: function(t) {
                                e.wxCode = t.code;
                            }
                        });
                    },
                    updatepid: function() {
                        var t = d.globalData.util.url("entry/wxapp/api", {
                            m: d.globalData.module_name,
                            o: "updatepid"
                        });
                        i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid")
                            },
                            success: function(t) {}
                        });
                    },
                    login: function(e) {
                        var a = this;
                        this.closeDialog2(), i.getSetting({
                            success: function(t) {
                                t.authSetting["scope.userInfo"] ? i.getUserInfo({
                                    success: function(t) {
                                        a.userAuth(e, t.userInfo, "login");
                                    }
                                }) : a.userAuth(e, null, "login");
                            }
                        });
                    },
                    getUserProfile: function() {
                        var a = this;
                        wx.getUserProfile({
                            desc: "请完善会员资料",
                            success: function(t) {
                                console.log(t.userInfo);
                                var e = d.globalData.util.url("entry/wxapp/userinfo2", {
                                    m: d.globalData.module_name
                                }), t = {
                                    avatarUrl: t.userInfo.avatarUrl,
                                    nickName: t.userInfo.nickName,
                                    openid: i.getStorageSync("openid")
                                };
                                i.request({
                                    url: e,
                                    method: "POST",
                                    header: {
                                        "content-type": "application/x-www-form-urlencoded"
                                    },
                                    data: t,
                                    success: function(t) {
                                        1 == t.data.status && (i.setStorageSync("userinfo", t.data.data.userinfo), a.userinfo = t.data.data.userinfo, 
                                        a.closeDialog2(), i.showToast({
                                            title: "登录成功",
                                            icon: "none"
                                        }));
                                    }
                                });
                            }
                        });
                    },
                    userAuth: function(a, t, o) {
                        var n = this;
                        "getUserInfo:ok" == a.detail.errMsg && wx.login({
                            success: function(t) {
                                var e = d.globalData.util.url("entry/wxapp/api", {
                                    m: d.globalData.module_name,
                                    o: "userinfo"
                                }), t = {
                                    code: t.code,
                                    encryptedData: a.detail.encryptedData,
                                    iv: a.detail.iv,
                                    openid: i.getStorageSync("openid"),
                                    invite_uid: wx.getStorageSync("invite_uid")
                                };
                                i.request({
                                    url: e,
                                    method: "POST",
                                    header: {
                                        "content-type": "application/x-www-form-urlencoded"
                                    },
                                    data: t,
                                    success: function(t) {
                                        var e;
                                        1 == ret.data.status && (e = d.globalData.crypt.Decrypt(ret.data.data.data, ret.data.data.key), 
                                        e = JSON.parse(e), i.setStorageSync("userinfo", e.userinfo), n.userinfo = e.userinfo, 
                                        "login" == o && (n.closeDialog2(), i.showToast({
                                            title: "登录成功",
                                            icon: "none"
                                        })));
                                    }
                                });
                            }
                        });
                    },
                    closeAlert: function() {
                        this.closeDialog2();
                    },
                    loadWaimaiindex: function() {
                        var e = this, t = d.globalData.util.url("entry/wxapp/waimaiindex2", {
                            m: d.globalData.module_name
                        });
                        i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                system_type: i.getStorageSync("systemtype")
                            },
                            success: function(t) {
                                e.swiperItems = t.data.lunbo, 1 == t.data.waimaidaohang.length ? e.waimaidaohang_1 = t.data.waimaidaohang[0] : 2 == t.data.waimaidaohang.length ? (e.waimaidaohang_1 = t.data.waimaidaohang[0], 
                                e.waimaidaohang_2 = t.data.waimaidaohang[1]) : 3 == t.data.waimaidaohang.length && (e.waimaidaohang_1 = t.data.waimaidaohang[0], 
                                e.waimaidaohang_2 = t.data.waimaidaohang[1], e.waimaidaohang_3 = t.data.waimaidaohang[2]), 
                                e.waimailist = t.data.mall_nav, e.sharetitle = t.data.sharetitle, e.sharepic = t.data.sharepic, 
                                e.waimaittnew_daohang_height = t.data.waimaittnew_daohang_height, i.stopPullDownRefresh();
                            }
                        });
                    },
                    openShopad: function(t) {
                        i.getStorageSync("userinfo").nickname || 1 != i.getStorageSync("setting").login_type || !wx.getUserProfile ? (t = t.currentTarget.dataset, 
                        this.api_url = t.item_id, this.openad(t)) : this.showDialog2();
                    },
                    openad: function(e) {
                        var a, t, o = this;
                        1 == e.is_warm ? e.tplid && i.getStorageSync("warn_daynum") < i.getStorageSync("setting").warn_tpl_daynum ? (a = new Array(), 
                        a = e.tplid.split(","), wx.requestSubscribeMessage({
                            tmplIds: a,
                            success: function(t) {
                                "reject" == t[a[0]] || (t = d.globalData.util.url("entry/wxapp/api", {
                                    m: d.globalData.module_name,
                                    o: "subscribemessage"
                                }), i.request({
                                    url: t,
                                    method: "POST",
                                    header: {
                                        "content-type": "application/x-www-form-urlencoded"
                                    },
                                    data: {
                                        openid: i.getStorageSync("openid"),
                                        type: 1
                                    },
                                    success: function(t) {
                                        var e = o.userinfo;
                                        o.warn_num++, e.s_1_num++, o.userinfo = e, i.setStorageSync("warn_daynum", t.data.warm_daynum);
                                    }
                                })), o.openad2(e);
                            },
                            fail: function(t) {
                                t.openad2(e);
                            }
                        })) : (t = d.globalData.util.url("entry/wxapp/api", {
                            m: d.globalData.module_name,
                            o: "subscribemessage"
                        }), i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                type: 2
                            },
                            success: function(t) {
                                i.setStorageSync("warn_daynum", t.data.warm_daynum);
                            }
                        }), o.openad2(e)) : o.openad2(e);
                    },
                    openad2: function(e) {
                        i.showLoading({
                            title: "加载中...",
                            mask: !1
                        });
                        var t, a, o = this;
                        1 == e.adtype ? 0 < e.appid_type2 ? (t = d.globalData.util.url("entry/wxapp/index_jump", {
                            m: d.globalData.module_name
                        }), i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                adid: e.item_id
                            },
                            success: function(t) {
                                1 == t.data.jump_type ? (i.navigateToMiniProgram({
                                    appId: t.data.jump_appid,
                                    path: t.data.jump_path
                                }), i.hideLoading()) : 2 == t.data.jump_type && (o.contact_type = "hotel", o.contact_id = e.item_id, 
                                o.contact_title = e.title, o.contact_title_text = e.title_text, o.contact_title_desc = e.title_desc, 
                                o.contact_thumb = i.getStorageSync("setting").dianwo, o.showDialog3(), i.hideLoading());
                            }
                        })) : (i.navigateToMiniProgram({
                            appId: e.appid,
                            path: e.path
                        }), i.hideLoading()) : 5 == e.adtype ? (i.navigateTo({
                            url: "../../../pages/kefu/webview?return_url=" + encodeURIComponent(e.url) + "&t=" + Date.parse(new Date())
                        }), i.hideLoading()) : 10 == e.adtype ? (this.$refs.addmini.showAddMiniProgramTips = 1, 
                        i.hideLoading()) : 11 == e.adtype ? i.hideLoading() : 4 == e.adtype ? (i.setStorageSync("index_nav", e.url), 
                        a = -1 != e.url.indexOf("A") ? e.url.replace("../../pagesA/pages/", "../") : e.url.replace("../", "../../../pages/"), 
                        i.navigateTo({
                            url: a
                        }), i.hideLoading()) : 2 == e.adtype || 3 == e.adtype || 9 == e.adtype ? (t = d.globalData.util.url("entry/wxapp/api", {
                            m: d.globalData.module_name,
                            o: "ad_kefubind"
                        }), i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                adtype: "ad_new",
                                adid: e.item_id,
                                openid: i.getStorageSync("openid")
                            },
                            success: function(t) {}
                        }), this.contact_title_desc = "", this.contact_type = "ad_new", this.contact_id = e.item_id, 
                        this.contact_title = e.title, this.contact_title_text = e.title_text, this.contact_title_desc = e.title_desc, 
                        this.contact_thumb = i.getStorageSync("setting").dianwo, i.hideLoading(), this.showDialog3()) : 8 == e.adtype ? 1 == e.mall_adtype ? i.navigateTo({
                            url: "../../pagesA/pages/mallA/huodong?id=" + e.item_id
                        }) : 2 == e.mall_adtype && this.loadMallapigoodslist(e) : 12 == e.adtype ? (i.previewImage({
                            urls: [ e.open_thumb ]
                        }), i.hideLoading()) : 13 == e.adtype && this.getCoupon(e);
                    },
                    getCoupon: function(e) {
                        var a = this;
                        if (i.getStorageSync("path" + e.item_id)) return i.getStorageSync("appid" + e.item_id) ? i.navigateToMiniProgram({
                            appId: i.getStorageSync("appid" + e.item_id),
                            path: i.getStorageSync("path" + e.item_id)
                        }) : i.setClipboardData({
                            data: i.getStorageSync("path" + e.item_id),
                            success: function(t) {
                                i.showToast({
                                    title: "内容已复制",
                                    icon: "success"
                                });
                            }
                        }), void i.hideLoading();
                        var t = d.globalData.util.url("entry/wxapp/mall_goods_getcoupon", {
                            m: d.globalData.module_name
                        });
                        i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                goodsid: e.goodsid,
                                pingtai: e.mall_type,
                                goodssign: e.goodssign,
                                search_id: a.search_id,
                                quan_url: e.quan_url,
                                uid: a.uid,
                                id: e.item_id
                            },
                            success: function(t) {
                                200 == t.data.code && ("tb" == e.mall_type ? (a.path = t.data.tkl, i.setStorageSync("path" + e.item_id, t.data.tkl), 
                                i.setStorageSync("pid_time", t.data.pid_time), i.getStorageSync("pid_time") != i.getStorageSync("pid_use_time") && i.setStorageSync("pid_use_time", i.getStorageSync("pid_time")), 
                                i.setClipboardData({
                                    data: t.data.tkl,
                                    success: function(t) {
                                        i.showToast({
                                            title: "内容已复制",
                                            icon: "success"
                                        });
                                    }
                                })) : (a.appid = t.data.appid, a.path = t.data.path, i.setStorageSync("appid" + e.item_id, t.data.appid), 
                                i.setStorageSync("path" + e.item_id, t.data.path), i.navigateToMiniProgram({
                                    appId: t.data.appid,
                                    path: t.data.path
                                })), i.hideLoading());
                            }
                        });
                    },
                    loadMallapigoodslist: function(e) {
                        this.loadStatus = "loading";
                        var t = d.globalData.util.url("entry/wxapp/mallapigoodslist", {
                            m: d.globalData.module_name
                        });
                        i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                id: e.item_id,
                                lon: i.getStorageSync("lon"),
                                lat: i.getStorageSync("lat")
                            },
                            success: function(t) {
                                200 == t.data.code && (t.data.appid ? i.navigateToMiniProgram({
                                    appId: t.data.appid,
                                    path: t.data.path
                                }) : i.navigateTo({
                                    url: "huodong?id=" + e.item_id
                                })), i.hideLoading();
                            }
                        });
                    },
                    taobaoauth: function() {
                        var e = this;
                        i.setClipboardData({
                            data: this.qudao_tkl,
                            success: function(t) {
                                i.showToast({
                                    title: "复制成功，请打开淘宝授权",
                                    icon: "none"
                                }), e.is_qudao_tkl = 1, i.hideLoading();
                            }
                        });
                    },
                    retaobaoauth: function() {
                        this.is_qudao_tkl = 0, this.qudao_tkl = "", this.gettaobaoauth();
                    },
                    notaobaoauth: function() {
                        3 == this.appid_type && i.navigateToMiniProgram({
                            appId: "wxece3a9a4c82f58c9",
                            path: i.getStorageSync("setting").default_elmwmpath
                        }), 4 == this.appid_type && i.navigateToMiniProgram({
                            appId: "wxece3a9a4c82f58c9",
                            path: i.getStorageSync("setting").default_elmscpath
                        });
                    },
                    taobaoauth_done: function() {
                        var a = this, t = d.globalData.util.url("entry/wxapp/api", {
                            m: d.globalData.module_name,
                            o: "taobaoauth_done"
                        });
                        i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                appid_type: a.appid_type
                            },
                            success: function(t) {
                                var e;
                                0 != t.data.status ? (e = d.globalData.crypt.Decrypt(t.data.data.data, t.data.data.key), 
                                e = JSON.parse(e), 1 == t.data.status ? (3 == a.appid_type && (i.setStorageSync("elmwm_url", e.elmwm_url), 
                                i.setStorageSync("elmwmqrcode", e.elmwm_qrcode), i.setStorageSync("elmwm_h5", e.elmwm_h5), 
                                i.setStorageSync("pid_time", +e.pid_time), i.getStorageSync("pid_time") != i.getStorageSync("pid_use_time") && i.setStorageSync("pid_use_time", i.getStorageSync("pid_time")), 
                                i.setStorageSync("is_qudao", e.is_qudao), a.closeDialog1(), i.navigateToMiniProgram({
                                    appId: "wxece3a9a4c82f58c9",
                                    path: e.elmwm_url
                                })), 4 == a.appid_type && (i.setStorageSync("elmsc_url", e.elmsc_url), i.setStorageSync("elmscqrcode", e.elmsc_qrcode), 
                                i.setStorageSync("elmsc_h5", e.elmsc_h5), i.setStorageSync("pid_time", +e.pid_time), 
                                i.getStorageSync("pid_time") != i.getStorageSync("pid_use_time") && i.setStorageSync("pid_use_time", i.getStorageSync("pid_time")), 
                                i.setStorageSync("is_qudao", e.is_qudao), a.closeDialog1(), i.navigateToMiniProgram({
                                    appId: "wxece3a9a4c82f58c9",
                                    path: e.elmsc_url
                                }))) : i.showModal({
                                    title: "提示",
                                    content: "未获取到您的授权信息，请重试！",
                                    showCancel: !1,
                                    success: function(t) {
                                        t.confirm || t.cancel;
                                    }
                                })) : i.showModal({
                                    title: "提示",
                                    content: "未获取到您的授权信息，请重试！",
                                    showCancel: !1,
                                    success: function(t) {
                                        t.confirm || t.cancel;
                                    }
                                });
                            }
                        });
                    },
                    gettaobaoauth: function() {
                        var e = this, a = this, t = d.globalData.util.url("entry/wxapp/api", {
                            m: d.globalData.module_name,
                            o: "gettaobaoauth"
                        });
                        i.request({
                            url: t,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: i.getStorageSync("openid"),
                                appid_type: a.appid_type
                            },
                            success: function(t) {
                                1 == t.data.status ? (a.showDialog1(), i.hideLoading(), a.qudao_tkl = t.data.data) : 0 == t.data.status ? (i.hideLoading(), 
                                i.showToast({
                                    title: "获取授权信息出错",
                                    icon: "none"
                                })) : 2 == t.data.status && (t = d.globalData.crypt.Decrypt(t.data.data.data, t.data.data.key), 
                                t = JSON.parse(t), console.log("gettaobaoauth:" + t), 3 == e.appid_type && (i.setStorageSync("elmwm_url", t.elmwm_url), 
                                i.setStorageSync("elmwmqrcode", t.elmwm_qrcode), i.setStorageSync("elmwm_h5", t.elmwm_h5), 
                                i.setStorageSync("pid_time", +t.pid_time), i.getStorageSync("pid_time") != i.getStorageSync("pid_use_time") && i.setStorageSync("pid_use_time", i.getStorageSync("pid_time")), 
                                i.setStorageSync("is_qudao", t.is_qudao), i.navigateToMiniProgram({
                                    appId: "wxece3a9a4c82f58c9",
                                    path: t.elmwm_url
                                }), i.hideLoading()), 4 == e.appid_type && (i.setStorageSync("elmsc_url", t.elmsc_url), 
                                i.setStorageSync("elmscqrcode", t.elmsc_qrcode), i.setStorageSync("elmsc_h5", t.elmsc_h5), 
                                i.setStorageSync("pid_time", +t.pid_time), i.getStorageSync("pid_time") != i.getStorageSync("pid_use_time") && i.setStorageSync("pid_use_time", i.getStorageSync("pid_time")), 
                                i.setStorageSync("is_qudao", t.is_qudao), i.navigateToMiniProgram({
                                    appId: "wxece3a9a4c82f58c9",
                                    path: t.elmsc_url
                                }), i.hideLoading()));
                            }
                        });
                    },
                    closeContact: function() {
                        this.closeDialog3();
                    }
                }
            };
            a.default = e;
        }).call(this, o("543d").default);
    },
    "868c": function(t, e, a) {
        (function(t) {
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            a("0cda"), e(a("66fd")), t(e(a("2cf7")).default);
        }).call(this, a("543d").createPage);
    },
    b2f9: function(t, e, a) {
        a.d(e, "b", function() {
            return o;
        }), a.d(e, "c", function() {
            return n;
        }), a.d(e, "a", function() {});
        var o = function() {
            this.$createElement;
            this._self._c;
        }, n = [];
    },
    d9f7: function(t, e, a) {
        a.r(e);
        var o, n = a("5957"), i = a.n(n);
        for (o in n) "default" !== o && function(t) {
            a.d(e, t, function() {
                return n[t];
            });
        }(o);
        e.default = i.a;
    },
    fbc7: function(t, e, a) {
        var o = a("fc74");
        a.n(o).a;
    },
    fc74: function(t, e, a) {}
}, [ [ "868c", "common/runtime", "common/vendor" ] ] ]);